﻿using ProtoBuf;

namespace ToyChat.BuiltinModules
{
    /// <summary>
    /// This message is used by the core module to "clean up" discovered users client-side, no user informations are leaked this way
    /// </summary>
    [ProtoContract(Name = "Core.UserDisconnectedMessage")]
    public class UserDisconnectedMessage
    {
        /// <summary>
        /// Gets or Sets the ID of the user that disconnected
        /// </summary>
        [ProtoMember(1)]
        public int UserID { get; set; }
    }
}